package com.wyh.domain.dto.feemanagementdto;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;

public enum ChargingNature {

    //0周期性计费、1三表类计费、2一次性计费

    PERIODICITY(0,"周期性计费"),
    THREE_TABLE(1,"三表类计费"),
    ONCE(2,"一次性计费");

    @EnumValue
    private final int value;
    @JsonValue
    private final String desc;

    ChargingNature(int value, String desc){
        this.value = value;
        this.desc = desc;
    }
}
